import redis.clients.jedis.Jedis;

public class test {
    public static void main(String[] args) {
        Jedis jedis = new Jedis();
        jedis.setex("1",60,"lisi");
        jedis.set("2","3");
        System.out.println(jedis.get("1"));

    }
}
